//
//  WLBaseCollectionViewCell.m
//  专注
//
//  Created by 王亮 on 2021/11/17.
//  Copyright © 2021 专注. All rights reserved.
//

#import "WLBaseCollectionViewCell.h"

@implementation WLBaseCollectionViewCell
+(WLBaseCollectionViewLayerRow *)getRow:(id)data cellSize:(CGSize)size{
    WLBaseCollectionViewLayerRow *row = [[WLBaseCollectionViewLayerRow alloc] init];
    row.type = NSStringFromClass(self.class);
    row.viewClass = self.class;
    row.data = data;
    row.cellSize = size;
    return row;
}


-(void)setDelegateTie:(id)delegateTie{
    _delegateTie = delegateTie;
    [self bind_delegate:_delegateTie];
}
-(void)setRowData:(WLBaseCollectionViewLayerRow *)rowData{
    _rowData = rowData;
    [self bind_row_data:_rowData];
}


-(void)bind_row_data:(WLBaseCollectionViewLayerRow *)sender{
    
}
-(void)bind_delegate:(id)sender{
    
}
@end
